package com.tchhy.provider.data.healthy.request

/**
 * Created by admin on 2020-07-20
 */
data class ShopSubmitOrderReq(
    var address: String,
    var areaId: Int,
    var cityId: Int,
    var fullAddress: String,
    var parentId: Int,
    var payChannel: Int,
    var receivingAddress: String,
    var receivingAreaId: Int,
    var receivingCityId: Int,
    var receivingName: String,
    var receivingParentId: Int,
    var receivingPhone: String,
    var items: List<Items>
) {
    data class Items(
        var freightAmount: Int,
        var freightType: Int,
        var providerId: Int,
        var providerName: String,
        var status: Int,
        var commodities: List<Commodities>
    ) {
        data class Commodities(
            var commodityId: String,
            var commodityName: String,
            var commodityType: Int,
            var expireTime: String,
            var firstType: String,
            var firstTypeCode: String,
            var firstTypeIcon: String,
            var freightPrice: Int,
            var freightType: Int,
            var headImgUrl: String,
            var inSales: Boolean,
            var lockStock: Int,
            var crossPrice: Int,
            var number: Int,
            var providerId: Int,
            var providerName: String,
            var recommendType: String,
            var recommendTypeCode: String,
            var salesNum: Int,
            var salesPrice: Int,
            var secondType: String,
            var secondTypeCode: String,
            var secondTypeIcon: String,
            var status: Int,
            var stock: Int,
            var subtitle: String,
            var templateName: String,
            var updateTime: String,
            var userId: Int,
            var videoUrl: String,
            var couponCode: List<String>,
            var detailImgUrl: List<String>,
            var introductionImgUrl: List<String>,
            var lockCouponCode: List<String>,
            var properties: List<Properties>
        ) {
            data class Properties(
                var limit: Int,
                var name: String,
                var type: Int,
                var value: String
            )
        }
    }
}